package com.xxx.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxx.demo.dto.GuestBookDto;
import com.xxx.demo.entity.GuestBook;
import com.xxx.demo.entity.News;
import com.xxx.demo.vo.GuestBookVo;

import java.util.List;

/**
* @author 562702
* @description 针对表【guest_book_table】的数据库操作Service
* @createDate 2023-03-27 16:16:10
*/
public interface GuestBookService extends IService<GuestBook> {

    List<GuestBookVo> queryGuestBook();

    int saveGuestBook(GuestBook guestBook);

    int removeGuestBookById(Long id);

    int deleteGuestBook(Long id);


    GuestBook queryGuestBookById(Long id);

    IPage<GuestBookVo> selectGuestBookPage(Integer pageNo, Integer pageSize, GuestBookDto guestBookDto);

    void updateGuestBook(GuestBook guestBook);
}
